package com.atguigu.springcloud.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.math.BigDecimal;

/**
 * @USER: dayu
 * @DATE: 2020/4/17
 * @DESCRIPTION:
 */
@FeignClient(value = "seata-account-service")
public interface AccountService {

    @PostMapping("/account/delcreate")
    public void delcreate(@RequestParam("userId") Long userId, @RequestParam("money") BigDecimal money);
}
